package com.centling.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.centling.service.IWuLiaoService;

@Controller
@RequestMapping("/wuLiao")
public class WuLiaoController {

	@Autowired
	public IWuLiaoService wuLiaoService;
	
	/**
	 * 获取物料数据
	 * 
	 * @return
	 */
	@RequestMapping("/getWuLiaoData")
	@ResponseBody
	public Object getWuLiaoData(){
		return wuLiaoService.getWuLiaoData();
	}
}
